<?php


namespace app\api\controller\v1;


use app\common\controller\BaseController;
use app\common\model\Catetype as CatetypeModel;

class Catetype extends BaseController
{
    public function index()
    {
        $list = (new CatetypeModel())->catetypeList();
        return self::showResCode('获取成功',$list);
    }
}